package com.chainyoung.component_tmtrade.di.module;


import com.chainyoung.common.di.scope.ActivityScope;
import com.chainyoung.component_tmtrade.ui.mvp.contract.TradeCurrencyListContract;
import com.chainyoung.component_tmtrade.ui.mvp.contract.TradeCurrencyTypeListContract;
import com.chainyoung.component_tmtrade.ui.mvp.contract.TradeFiatCurrencyOrderDetailContract;
import com.chainyoung.component_tmtrade.ui.mvp.contract.TradeFiatCurrencySubmitOrderContract;
import com.chainyoung.component_tmtrade.ui.mvp.model.TradeCurrencyTypeListModel;
import com.chainyoung.component_tmtrade.ui.mvp.model.TradeFiatCurrencyOrderDetailModel;
import com.chainyoung.component_tmtrade.ui.mvp.model.TradeFiatCurrencySubmitOrderModel;
import com.chainyoung.component_tmtrade.ui.mvp.model.TradeRecordModel;

import dagger.Module;
import dagger.Provides;

@Module
public class TradeCurrencyActivityModule {

    private TradeCurrencyTypeListContract.View mView;

    private TradeCurrencyListContract.View mListView;





    public TradeCurrencyActivityModule(TradeCurrencyTypeListContract.View view) {
        this.mView = view;
    }


    public TradeCurrencyActivityModule(TradeCurrencyListContract.View view) {
        this.mListView = view;
    }



    @ActivityScope
    @Provides
    TradeCurrencyTypeListContract.View providerMarketListView() {
        return this.mView;
    }

    @ActivityScope
    @Provides
    TradeCurrencyTypeListContract.Model providerMarketListModel(TradeCurrencyTypeListModel model){
        return model;
    }


    @ActivityScope
    @Provides
    TradeCurrencyListContract.View providerRecordListView() {
        return this.mListView;
    }

    @ActivityScope
    @Provides
    TradeCurrencyListContract.Model providerRecordListModel(TradeRecordModel model){
        return model;
    }



}
